/*
 * returnval.h
 *
 *  Created on: Jan 14, 2014
 *      Author: jqc
 */

#ifndef RETURNVAL_H_
#define RETURNVAL_H_

#define OPER_SUCE	0		// operation done!
#define OPER_FAIL	-1		// operation failed!

#define OPER_EFILE	1		// error R/W config file
#define OPER_EOPT	2		// error option, not one of "-o -p"
#define OPER_EOPER	3		// error operation, not one of "add del mod qur"
#define OPER_NKEY	4		// can't find key

#endif /* RETURNVAL_H_ */
